﻿package com.sgcc.nfc.lock.domain.usecase

import com.sgcc.nfc.lock.core.network.NetworkResult
import com.sgcc.nfc.lock.domain.repository.RegionRepository
import javax.inject.Inject

class DeleteRegionUseCase @Inject constructor(
    private val repository: RegionRepository
) {
    suspend operator fun invoke(regionId: Long): NetworkResult<Unit> = repository.deleteRegion(regionId)
}
